Remove preview widget from GtkFileChooser
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 22 Feb 2020 16:39:01 +0000 (16:39 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sat, 22 Feb 2020 16:39:01 +0000 (16:39 +0000)
commitff6772fd983b17ff173b0a829ba0a86fa72dd472
tree412651ffa12b6542b48087a8e05544781c8d9e6b
parente5ef26efa8345aedab1230c58804cddf68113400
Remove preview widget from GtkFileChooser

The preview widget harks from a platform before time, when we didn't
have GIO, or a thumbnail specification.

Very few applications use it correctly, if at all; it has an horrid hack
to deal with the ownership of the widget's instance when accessed
through the getter function; it messes up the layout of the widget and
its label is less than useful when it comes to file names longer than a
dozen characters; it's a poor substitute for a proper thumbnail view.
14 files changed:
docs/reference/gtk/gtk4-sections.txt
gtk/gtkfilechooser.c
gtk/gtkfilechooser.h
gtk/gtkfilechooserbutton.c
gtk/gtkfilechoosernative.c
gtk/gtkfilechoosernativequartz.c
gtk/gtkfilechoosernativewin32.c
gtk/gtkfilechooserprivate.h
gtk/gtkfilechooserutils.c
gtk/gtkfilechooserutils.h
gtk/gtkfilechooserwidget.c
gtk/ui/gtkfilechooserwidget.ui
tests/testfilechooser.c
tests/testfilechooserbutton.c